<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>




</head>
<body>


<div class="container" style="width:80%;margin-top:100px">
<div class="row row-cols-1 row-cols-md-3">
<div class="col mb-5" style="width: calc(33.3333% - ( 10px + 5px)* 2- 15px);">

  <div class="card" style="width: 18rem;">
  <div class="card-header"><a href="#" class="card-link" data-toggle="modal" data-target="#exampleModalCenter">活动名称</a></div>
  <div class="card-body">
    <h5 class="card-title">活动创建时间</h5>
    <p class="card-text">2021-2022-2学期</p>
  <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalLong">
  发布活动
</button>
  </div>
</div>
<a class="btn btn-primary" href="activity_create.jsp" role="button">创建活动</a>
  </div>
  </div>
  </div>
  
  
  
  <div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalCenterTitle">具体信息</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <div style="padding-left:50px;padding-right:50px" >
  <table class="table table-bordered" >
  <tbody>
    <tr>
      <td >活动名称</td>
      <td >你画我猜</td>
    </tr>
    <tr>
      <td >活动规则</td>
      <td >一人通过肢体语言向队友传递词义，依次类推</td>
    </tr>
    <tr>
      <td>组队方式</td>
      <td >自由组队，每队不超7人</td>
    </tr>
     <tr>
      <td >活动开始时间</td>
      <td >2021-7-11 12:00</td>
    </tr>
     <tr>
      <td >活动截止时间</td>
      <td >2021-7-25 12:00</td>
    </tr>
  </tbody>
</table>
</style>
</div>
        
        
        
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>
  
  
  
  
  <!-- Modal -->
<div class="modal fade" id="exampleModalLong" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLongTitle">发布活动</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>

       <div div class='col-m4'style="padding-left:50px;padding-right:50px;">
         <div class="center" style="padding-top:10px">
	
	 <div class="form-group col-md-15">
      <label for="inputState">活动班级</label>
      <select id="inputState" class="form-control">
        <option selected>金信</option>
        <option>电商</option>
      </select>
    </div>
	
</div>
       
        <div class="form-group">
            <label>开始时间：</label>
            <div class='input-group date' id='datetimepicker1'>
                <input type='date' class="form-control" />
            </div>
        </div>
    </div>

    <div class='col-m4' style="padding-left:50px;padding-right:50px;">
        <div class="form-group">
            <label>截止时间：</label>
            <div class='input-group date' id='datetimepicker2'>
                <input type='date' class="form-control" />
            </div>
        </div>
    </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary">确认发布</button>
      </div>
    </div>
  </div>
</div>
  
  
  
</body>
</html>